package com.wd.tw.service;

import com.wd.tw.config.AppConfig;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @className: ChannelMapService
 * @description: TODO 类描述
 * @author: liumingkun
 * @date: 2024/11/21
 **/
@Service
public class ChannelMapService {

    @Resource
    AppConfig appConfig;

    public Integer getStId(Integer channelId)
    {
       return appConfig.getChannelMap().get("st").get(channelId);
    }

    public Integer getYjwId(Integer channelId){
        return appConfig.getChannelMap().get("yjw").get(channelId);
    }
}
